package com.zl.gmadmin.vo.role;

import com.zl.gmadmin.vo.menu.SysMenuVo;
import com.zl.gmadmin.vo.user.SysUserVo;

import java.time.LocalDateTime;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: ZhangLiang
 * @Date: 2021/07/20/14:48
 * @Description:  role返回数据类
 */
public class SysRoleVo {

    private Long id;
    private String name;
    private Long level;
    private String description;
    private String dataScope;
    private String createBy;
    private String updateBy;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    private List<SysUserVo> users;

    private List<SysMenuVo> menus;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getLevel() {
        return level;
    }

    public void setLevel(Long level) {
        this.level = level;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDataScope() {
        return dataScope;
    }

    public void setDataScope(String dataScope) {
        this.dataScope = dataScope;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public List<SysUserVo> getUsers() {
        return users;
    }

    public void setUsers(List<SysUserVo> users) {
        this.users = users;
    }

    public List<SysMenuVo> getMenus() {
        return menus;
    }

    public void setMenus(List<SysMenuVo> menus) {
        this.menus = menus;
    }


}
